package com.shop.shoporder.service.impl;



import com.shop.shoporder.entity.GroupbuygoodUserno;
import com.shop.shoporder.mapper.GroupbuygoodUsernoMapper;
import com.shop.shoporder.service.GroupbuygoodUsernoService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service("groupbuygoodUsernoService")
public class GroupbuygoodUsernoServiceImpl implements GroupbuygoodUsernoService {

    @Autowired
    GroupbuygoodUsernoMapper groupbuygoodUsernoMapper;

    @Override
    public int insert(GroupbuygoodUserno record) {
        return groupbuygoodUsernoMapper.insert(record);
    }

    @Override
    public int insertSelective(GroupbuygoodUserno record) {
        return groupbuygoodUsernoMapper.insertSelective(record);
    }

    @Override
    public List<GroupbuygoodUserno> getGroupbuygoodUserno(Map<String,Object> map) {
        return groupbuygoodUsernoMapper.getGroupbuygoodUserno(map);
    }

    @Override
    public List<GroupbuygoodUserno> getGroupbuyInProgress(int userNoId) {
        return groupbuygoodUsernoMapper.getGroupbuyInProgress(userNoId);
    }

    @Override
    public List<GroupbuygoodUserno> getGroupbuySuccess(int userNoId) {
        return groupbuygoodUsernoMapper.getGroupbuySuccess(userNoId);
    }


}
